package com.kate.mall.order.price;



import com.kate.mall.order.dto.OrderItemDTO;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 促销活动处理结果
 * @Auther: 新梦想*陈超
 * @Date: 2021/10/30 19:34
 */
public class PromotionActivityResult {

    /**
     * 促销减免金额
     */
    private BigDecimal discountAmount = new BigDecimal("0.0");
    /**
     * 赠品对应的订单条目
     */
    private List<OrderItemDTO> orderItems = new ArrayList<OrderItemDTO>();

    public PromotionActivityResult() {

    }

    public PromotionActivityResult(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }
    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }
    public List<OrderItemDTO> getOrderItems() {
        return orderItems;
    }
    public void setOrderItems(List<OrderItemDTO> orderItems) {
        this.orderItems = orderItems;
    }
}
